package com.wyt.cloud.utils.query.strategy;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.wyt.cloud.utils.query.FilterMatchRuleEnum;

import java.lang.reflect.Field;

public interface QueryMatchStrategy {

    boolean when(FilterMatchRuleEnum ruleEnum);

    <T> void then(QueryWrapper<T> wrapper, Field sourceField, Object value, Field targetField);


}
